<template>
<span class="listTop-wrapper">
  <button v-if="ctl=='Menu'" class="ui circular icon primary button mini" @click.prevent="clickCom"><i class="icon object group"></i></button>
</span>
</template>

<script type="text/ecmascript-6">
import tool from 'src/util/tool';

export default {
  data() {
    return {}
  },
  methods: {
    clickCom() {
      switch (this.ctl) {
        case menu:

          break;
        default:

      }
      // this.$emit()
    }
  },
  watch: {
    ctl: function(val, old) {
      if (val != old) {}
    }
  },
  computed: {
    ctl() {
      return this.$route.query.ctl;
    },
  },
  props: [],
  created() {},
  mounted() {}
};
</script>
